Output apparatus and method in which a suitable analyzer is selected for input information, and the input information is skipped if no analyzer is selected

ABSTRACT

An output apparatus and method receives first information from an external source, generates second information based on the received first information, and outputs the generated second information. The apparatus includes a selector for discriminating the received first information by comparing a code included in the first information with codes provided in a number of analyzers and for selecting one of the number of analyzers suitable for the first information. The apparatus also includes a controller for skipping the received first information when the selector can select no suitable analyzer, when no data is input for a predetermined time to an input interface via which the first information was received, or until the input interface is switched.

This application is a division of application Ser. No. 08/224,665, filedApr. 7, 1994, now U.S. Pat. No. 5,666,584.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an information output method of anoperation unit in an information output apparatus for generating outputinformation on the basis of input information input from the outside andalso relates to an information output apparatus having such an operationunit.

2. Related Background Art

FIG. 18 is a plan view showing an example of an operation panel of sucha kind of information output apparatus.

In the diagram, reference numeral 200 denotes an operation panel unithaving a liquid crystal display (LCD) 201 which can display about 16 ormore characters, a key input unit 203 including seven or more keyportions, and the like in order to realize complicated display andoperation. Reference numeral 202 denotes a state display.

By using the operation panel with such a construction as mentionedabove, a state and errors of the apparatus can be displayed, an outputenvironment can be changed, and other special operations such as outputof a list of output environment or a list of fonts and resettingprocessing can be executed.

Such a kind of apparatus has one or a plurality of control codeanalyzing means and generally doesn't judge whether input data is datawhich can be printed by the apparatus or not. An output processing isexecuted by using either one of the control code analyzing means.

For example, in a conventional printing apparatus, there has beenproposed a printing apparatus such that data is received from a hostcomputer on a page unit basis, a character code or graphics data whichwas transmitted from the host computer is developed into a bit map,image data transmitted from the host computer is developed, or anexternal character font or logotype is developed, thereby forming bitmap information as output information on a page unit basis and printingand outputting.

A printing mechanism (printer engine) which is provided for the printingapparatus is generally constructed in the following manner. The bit mapinformation of the page unit mentioned above is converted into the videosignal and is developed into the print data and transferred to theprinting mechanism. In the printing mechanism, in order to execute anelectrophotographic processing such that the image corresponding to thepage unit bit map information is formed onto a photosensitive drum by adeveloping agent such as a toner or the like synchronously with thevideo signal by using a light emitting device such as laser beam, LEDarray, liquid crystal shutter, or the like, the developed image is copytransferred onto a recording medium, and stable print result is outputby using a fixing device at a high temperature and a high voltage, theoperation unit generally has a plurality of keys and a display panel inorder to set printing modes corresponding to various kinds of settings.In addition to the ordinary printing mode, in case of executing a modeto set an interface format or the like of a test print or printinformation, what is called a "special" display mode, it can be executedby a combination such that the above plurality of keys aresimultaneously depressed or the like.

In the case where the number of keys which are provided in the operationunit is small, however, it is impossible to perform an instruction toshift the operating mode to many special display modes. In the printingapparatus accompanied with the shift to the special display modes, thereare problems such that the number of keys is large, the costs of theoperation unit increase, and when the operating mode is shifted to thespecial display modes, a burden of the key operation of the operatorincreases and an erroneous operation is caused, and the like.

The costs of the operation panel which is occupied in the printingapparatus main body rise with an increase in number of keys, so thatsuch a drawback becomes an obstacle for reduction in costs.

However, when the apparatus is simplified by eliminating the operationpanel, there occurs a problem such that information of printer resourceswith respect to special operating functions such as printing of a listof printing environment or a list of fonts, resetting operation, displayof detailed error information, and the like which are indispensable onthe product specifications and need to be executed by using theoperation panel cannot be provided to the user.

In the case where the user erroneously sent a control code of the kindwhich cannot be printed by the printing apparatus or where the usererroneously set a communication interface between the external apparatusand the printing apparatus, for example, even at a transfer speed ofRS232C, either one of the control code analyzers executes an analysisprocessing. Therefore, there is a case where the wrong printingcontinuously executed over a few pages, so that there is a problem suchthat an electric power, print sheets, and toner are wasted.

Further, in order to avoid such waste, it is necessary for the user toexecute the operation to cancel the input data by using the operationpanel or the like of the printing apparatus. Particularly, in case ofusing the printing apparatus in the network environment, its printingstate cannot be grasped, so that there is a serious problem such thatthe wasted printing operation is continued until completion.

SUMMARY OF THE INVENTION

The present invention is made to solve the above problems and it is anobject of the invention to provide an information output apparatus andan information output method in which, by monitoring instructing statesof a display and a key input which are necessary for an ordinaryoperating mode display and by switching a display mode of an operationunit, a complicated operating mode display can be certainly executed bya cheap operation unit construction.

According to an information output method of the present invention, adepressing state of a predetermined key is monitored, an instruction toswitch display modes of a plurality of displays which were allocated topredetermined state alarms in accordance with the depressing time ismade to another display mode, and after completion of the switchinginstruction, either one of the information display processings whichwere allocated to the displays which are sequentially turned on isstarted in accordance with the depression instruction state of the key.

According to the information output method of the invention, aftercompletion of either one of the information display processings whichwere allocated to the displays which are sequentially turned on by thedepressing instruction of the key, the switching to the ordinary displaymode is controlled.

An information output apparatus according to the present inventioncomprises: a plurality of display means each for displaying apredetermined apparatus state; key input means for instructing apredetermined operation; switching means for monitoring a key inputstate by the key input means and for switching a display mode of each ofthe display means to another mode; and control means for controlling thestart of either one of the information display processings which wereallocated to the display means which are sequentially turned on inaccordance with a key input state by the key input means after theswitching instruction was performed by the switching means.

An information output apparatus according to the invention comprises: aplurality of display means to which a plurality of special functionprocessings have been allocated; mode switching means for judging aninput state of instruction information to instruct the execution of aplurality of special function processings and for switching from anordinary display mode to a special display mode; mode shift displaymeans for displaying a state in which the switching operation to thespecial display mode by the mode switching means is being executed bychanging display styles of those plurality of display means; specialfunction selection candidate display means for judging the input stateof the instruction information during the display of the special displaymode by the mode shift display means and for sequentially displayingeach display means arranged in correspondence to each special functionas a special function selection candidate by a display style differentfrom that in the ordinary display; and special mode executing means forjudging the input state of the instruction information during thedisplay of the special function selection candidate by the specialfunction selection candidate display means and for executing the specialmode corresponding to the special function selection candidates whichare being displayed.

An information output apparatus according to the invention comprises: aplurality of display means to which a plurality of special functionprocessings have been allocated; mode switching means for judging aninput state of instruction information to instruct the execution of aplurality of special function processings and for switching from anordinary display mode to a special display mode; mode shift displaymeans for displaying a state indicating that the switching to thespecial display mode by the mode switching means is being executed bychanging display styles of the plurality of display means; specialfunction selection candidate display means for judging the input stateof the instruction information during the display of the special displaymode by the mode shift display means and for sequentially displayingeach display means arranged in correspondence to each of the specialfunctions as a special function selection candidate by a display styledifferent from that in the ordinary display; special mode executingmeans for judging the input state of the instruction information duringthe display of the special function selection candidate by the specialfunction selection candidate display means and for executing a specialmode corresponding to the special function selection candidate which isbeing displayed; and recovery means for judging the input state of theinstruction information during the display c)f the special functionselection candidate by the special function selection candidate displaymeans, for cancelling the specified special mode, and for recovering tothe display of the special function selection candidate by each displaymeans.

According to an information output method according to the presentinvention, the display styles of each or all of the display means aresequentially changed in accordance with the input state of theinstruction information, a plurality of mode candidates which can beselected are displayed, the input state of the instruction informationduring the display of the special mode candidate is judged, and eitherone of the special modes corresponding to the display means which weredisplayed as special mode candidates is executed on the basis of theresult of the judgment.

As described above, according to the information output method, adepressing state of a predetermined key is monitored, the switching fromthe display modes of the plurality of displays allocated topredetermined state alarms to another display mode in accordance withthe depressing time is instructed, and after completion of the switchinginstruction, either one of the information display processings allocatedto the displays which are sequentially turned on is started inaccordance with the depression instructing state of the key. Therefore,many information display modes can be certainly set even by small keyinput means and display means and their states can be confirmed.

According to the information output method, after completion of eitherone of the information display processings allocated to the displayswhich are sequentially turned on by the depressing instruction of thekey, the switching to the ordinary display mode is controlled.Therefore, the operating mode can be certainly returned to the ordinarymode by a simple key input instruction.

In the information output apparatus, when the key input state by the keyinput means is monitored and the switching means switches the displaymode of each display means to another display mode, the control meanscontrols the start of either one of the information display processesallocated to the display means which are sequentially turned on inaccordance with the key input state by the key input means aftercompletion of the switching instruction. Therefore, many display modescan be certainly set even by a small number of key input means anddisplay means and their states can be confirmed.

Therefore, the instruction of complicated operation modes and theconfirmation of the instructing state can be certainly performed by acombination of the minimum number of key input means and display means.A construction of the operation unit for setting many complicatedoperating modes can be remarkably simplified and the costs of theoperation unit can be also fairly reduced.

As described above, according to an information output apparatus of theinvention, while a state indicating that the switching operation to thespecial display mode by the mode switching means is being displayed bythe mode shift display means by changing the display styles of theplurality of display means, the input state of the instructioninformation is judged. The special function selection candidate displaymeans sequentially displays each of the display means arranged incorrespondence to each special function as a special function selectioncandidate and judges the input state of the instruction informationduring the display of the special function selection candidate. Thespecial mode executing means executes the special mode corresponding tothe special function selection candidate which is being displayed.Therefore, the display of the candidates of a plurality of special modeswhich can be selected and the special modes can be executed by a smallnumber of instruction information input means and display means.

According to the information output apparatus, while a state indicatingthat the switching to the special display mode by the mode switchingmeans is being displayed by the mode shift display means by changing thedisplay styles of the plurality of display means, the input state of theinstruction information is judged. The special function selectioncandidate display means sequentially displays each of the display meansarranged in correspondence to each of the special functions as a specialfunction selection candidate by a display style different from that inthe ordinary display and judges the input state of the instructioninformation during the display of the special function selectioncandidate. The special mode executing means executes the special modecorresponding to the special candidate selection function which is beingdisplayed. Or, the recovery means cancels the special mode which wasspecified by judging the input state of the instruction informationduring the display of the special function selection candidate by thespecial function selection candidate display means, thereby recoveringto the display of the special function selection candidate by eachdisplay means. Therefore, the display of the candidates of a pluralityof special modes which can be selected and the special modes can beexecuted by a small number of instruction information input means anddisplay means. Even if a special mode is erroneously specified, thedisplay can be recovered to the special mode candidate display with goodreproducibility.

According to the information output method of the invention, the displaystyles of each or all of the display means are sequentially changed inaccordance with the input state of the instruction information, aplurality of special mode candidates which can be selected aredisplayed, the input state of the instruction information during thedisplay of the special mode candidate is judged, and either one of thespecial modes corresponding to the display means displayed as a specialmode candidate is executed on the basis of the result of the judgment.Therefore, there are effects such that the display of a plurality ofspecial mode candidates which can be selected and the special modes canbe executed by a small number of instruction information input means anddisplay means of the operation unit, and the like.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a cross sectional view for explaining a construction of alaser beam printer to which the present invention is applied;

FIG. 2 is a block diagram for explaining a printer control system in thefirst embodiment;

FIG. 3 is an enlarged plan view of a main section for explaining aconstruction of an operation panel 14 shown in FIG. 2;

FIG. 4 is a flowchart showing an example of a special operating modeprocessing procedure in a printer control method according to the firstembodiment;

FIG. 5 is a diagram showing a special operating mode shift stateaccording to the first embodiment;

FIG. 6 is a diagram showing a special operating mode display transitionaccording to the first embodiment;

FIG. 7 is a diagram showing an example in which error contents areencoded and displayed;

FIG. 8 is a diagram showing an example of an error code displaytransition in a special operating mode;

FIG. 9 is a block diagram for explaining a printer control systemaccording to the second embodiment of the invention;

FIG. 10 is a diagram showing an example of an operation panel unit 14 inthe second embodiment;

FIG. 11 is a flowchart showing an example of a special display modeswitching display control procedure in the second embodiment;

FIG. 12 is a flowchart showing an example of a special display modeswitching display control procedure in the third embodiment;

FIG. 13 is a diagram showing an example of an operation panel unit 14 inthe fourth embodiment;

FIG. 14 is a flowchart showing an example of a special display modeswitching display control procedure in the fourth embodiment;

FIG. 15 is a block diagram for explaining a printer control system inthe fifth embodiment;

FIG. 16 is comprised of FIGS. 16A and 16B flowcharts showing an exampleof a control code discrimination processing procedure according to thefifth embodiment;

FIG. 17 is a block diagram for explaining a construction of a printercontrol system according to the fifth embodiment;

FIG. 18 is a plan view showing an example of an operation panel of aconventional printing apparatus; and

FIG. 19 is an external view for explaining a construction of anotherprinting apparatus to which the invention can be applied.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment

Prior to explaining a construction of the embodiment, a construction ofa laser beam printer (hereinafter, also simply abbreviated to as LBP) towhich the present embodiment is applied will now be described withreference to FIG. 1.

FIG. 1 is a cross sectional view for explaining a construction of thelaser beam printer to which the embodiment is applied. The laser beamprinter can register a character pattern or a standard format (formdata) from a data source of a host computer or the like (not shown).

In the diagram, reference numeral 100 denotes a laser beam printer (LBP)main body (hereinafter, simply referred to as a main body). The LBP mainbody receives and stores input information such as character data(character code), form information, macro command, etc. which aresupplied from an external apparatus 2 such as a host computer shown inFIG. 2 or the like connected to the outside. The LBP main body forms acorresponding character pattern, a form pattern, or the like inaccordance with the information and forms an image onto a recordingpaper as a recording medium. Reference numeral 14 denotes an operationpanel in which switches for operation, an LED display to display a stateof the printer, and the like are arranged. Reference numeral 1 denotes acontroller (printer control unit) for controlling the whole LBP 100 andanalyzing input information such as character information or the likewhich is supplied from the host computer. The controller 1 mainlyconverts character information to a video signal of a correspondingcharacter pattern and outputs to a laser driver 102. The laser driver102 is a circuit to drive a semiconductor laser 103 and on/off switchinga laser beam 104 which is generated from the semiconductor laser 103 inaccordance with the input video signal. Thus, an electrostatic latentimage is formed onto an electrostatic drum 106.

The latent image is developed by a developing unit 107 around the drum106 and, after that, it is copy transferred onto a recording paper. Cutsheets are used as recording paper. The cut sheets are enclosed in asheet cassette 108 attached to the main body 100 and are picked up andfed one by one into the apparatus by a paper feed roller 109 andconveying rollers 110 and 111 and conveyed to the drum 106.

FIG. 2 is a block diagram for explaining a construction of a printercontrol apparatus of the printing apparatus shown in FIG. 1.

In the diagram, reference numeral 1 denotes the controller (printercontrol unit) for controlling so as to receive input information such ascharacter code, external character font, form information, macroregistration information, and the like which were sent from the externalapparatus 2 as a generation source of input information and to printoutput information or the like on a page unit basis. Reference numeral10 denotes an input interface for inputting various kinds of informationfrom the external apparatus 2; 11 an input buffer memory to temporarilystore the various kinds of information which were input through theinput interface 10; and 12 a character (CHR) generator. The CHRgenerator 12 includes an ROM in which character pattern informationcorresponding to ordinary text data or the like which was sent by acharacter code from the external apparatus 2, a read-out control circuitfor the ROM, and the like and also has a code converting function suchthat when a character code is input, an address of the character patterncorresponding to the input character code is calculated.

Reference numeral 13 denotes a work memory of a CPU 15. The work memory13 is constructed by an RAM and also stores an external character font,form information, and the like which were sent from the externalapparatus 2. The work memory 13 is also used as a page buffer memory tostore information of an amount corresponding to one page in theinformation which has once been stored in the input buffer memory 11.Reference numeral 14 denotes the operation panel to manually operate thecontroller 1. Reference numeral 15 denotes the CPU to control an entirecontrol system of the printer. The CPU 15 controls the entire apparatusin accordance with a control program of the CPU 15 stored in the ROM 16.Pattern information which was developed into a character pattern or thelike is stored in a frame buffer 17 by at least an amount of one page incorrespondence to a print image (output information). An outputinterface 18 generates a video signal corresponding to the patterninformation from the frame buffer 17 and executes an interface controlbetween the laser beam printer (LBP) main body 100 and the outputinterface 18. A printer engine 1000 receives the video signal from theoutput interface 18 and prints the image information based on the videosignal.

FIG. 3 is an enlarged plan view of a main section for explaining aconstruction of the operation panel 14 shown in FIG. 2. The operationpanel 14 is constructed by five LEDs and one switch but doesn't have acharacter display unit (LCD) to display various kinds of messages or thelike and a buzzer.

In the diagram, reference numerals 301 to 305 denote monochromatic LEDsfor ordinarily showing various kinds of states of the printer.Particularly, the LED 301 functions as an ALARM display which is turnedon when an error occurs due to a cause on the user side. The LED 302functions as a JAM display which is turned on when a paper jam occurs.The LED 303 functions as a PAPER OUT display which is turned on when apaper out (no paper) occurs. The LED 304 functions as a DATA displayindicative of the presence or absence of input information. The LED 305functions as an ON LINE display indicating whether the printer is in aninformation receivable state or not. Reference numeral 306 denotes asingle key for generally switching between the ON LINE state and the OFFLINE state by a toggle operation. The functions in the ordinary state ofthe LEDs will now be specifically explained hereinbelow.

Although there are five LEDs in the printer according to the embodiment,their functions differ in the ordinary state and a special operationmode. The function of each LED in the ordinary state will now bedescribed.

(1) ALARM LED 301 (ordinary mode)

The LED is turned on in the case where various kinds of errors occur inthe printer and the printing operation of the printer cannot becontinued. In the case where the LED is turned on, the printerautomatically enters the OFF LINE state (namely, the ON LINE LED 305 isturned off).

(2) PAPER JAM LED 302 (ordinary mode)

The LED is turned on when a paper jam occurs in the printer. The LED isalso turned on when the door is open. When the LED is turned on, theprinter automatically enters the OFF LINE state (namely, the ON LINE LED305 is turned off).

(3) PAPER OUT LED 303 (ordinary mode)

The LED performs a display regarding a request of the papers.

ON: indicates a request of the paper feed to a cassette which isselected at present at a paper feed port or indicates a request of theexchange of the paper (size).

Flickering: indicates a request of the paper feed to a manual feederwhich is selected at present at the paper feed port.

The discrimination about the presence or absence of the papers isperformed always in case of using a sheet cassette and is executed justbefore the paper feed in case of the manual feeder. In the case wherethe LED is turned on and flickers, the printer automatically enters theOFF LINE state (namely, the ON LINE LED 305 is turned off).

(4) DATA LED 304 (ordinary mode)

The LED displays an operating state of the printer.

OFF: indicates that no input information exists in the printer

ON: indicates that input information exists in the printer and theprinter is in an idling state

Flickering: indicates that the printer is operating (input informationis being processed)

(5) ON LINE LED 305 (ordinary mode)

The LED is turned on in the ON LINE state, is turned off in the OFF LINEstate, and flickers during the state shift processing.

Each of the LEDs 301 to 305 enters a special operating mode on the basisof the operation of the key 306, which will be explained hereinlater.

The functions of the special operating mode of each LED and the key 306will specifically be explained hereinafter.

(6) ERROR CODE LED 301 (special mode)

The LED flickers in case of selecting an error code display.

(7) FONT LIST LED 302 (special mode)

The LED flickers in case of selecting a font list output.

(8) TEST PRINT LED 303 (special mode)

The LED flickers in case of selecting a test print output.

(9) RESET LED 304 (special mode)

The LED flickers in case of selecting a soft reset.

(10) ON LINE SWITCH KEY 306

This switch has the following functions.

1) By pressing the switch for a short time, the switching between the ONLINE state and the OFF LINE state can be performed (toggle key).

The ON LINE state denotes a state in which the printer can perform aprinting operation in accordance with the information input from theoutside (host computer). On the other hand, the OFF LINE state denotes astate in which the printer doesn't accept any print data from theoutside and the printer is solely closed.

When shifting from the ON LINE state to the OFF LINE state, there is acase where the ON LINE LED 305 flickers. This means that the printer isshifting to the OFF LINE state (namely, a paper delivery waiting stateof the paper during the printing or conveying operation). After thepaper was delivered, the printer enters the OFF LINE state.

2) When the printer is in a sleep mode due to an automatic LEDturning-off function, by pressing the switch for a short time, theapparatus can be shifted to another mode from the sleep mode.

3) By pressing the switch for a short time when the exchange of thepaper is requested or when an error occurs, the error can be skipped.

4) By continuous pressing the switch for a predetermined time, forexample, two or more seconds in the OFF LINE state, the printer canenter the special mode.

In the special mode, by operating the switch, the following functionscan be executed.

1. execution of a soft reset

2. output of a test print

3. output of a font list

4. display of error code

5) By pressing the switch for a short time during the output of a testprint and a font list, the test can be stopped (however, the printer isset to the OFF LINE state after all of the test patterns which had beenformed so far were output).

That is, when the LEDs 301 to 305 enter the special mode, each LEDdisplays a state indicative of another meaning mentioned above.

In the embodiment, the key 306 also functions as instructing means forinstructing the switching the display mode of the LEDs 301 to 305 to thespecial mode. In the embodiment, the CPU 15 judges whether, for example,the key 306 has continuously been depressed for two or more seconds ornot, and the switching of the display mode is controlled in accordancewith flowcharts, which will be explained hereinbelow.

In the printer control apparatus with such a construction as mentionedabove, a key input state by the key input means (key 306) is monitoredand when the switching means (CPU 15) switches the display mode of eachdisplay means (LEDs 301 to 305) to a printer resource display mode(special mode), the control means (CPU 15) controls the start of eitherone of the printer resource display processings which were allocated tothe display means which are sequentially turned on in accordance withthe key input state by the key input means after completion of theswitching instruction. Therefore, even by a small number of key inputmeans and display means, many printer resource display modes (specialmodes) can be certainly set and their states can be confirmed.

FIG. 4 is a flowchart showing an example of a processing procedure ofthe printer resource display mode (special mode). Reference numerals (1)to (12) denote processing steps. First, the printer is set into the OFFLINE state by the ordinary panel operation.

This processing routine is started when the key 306 is depressed. First,a check is made to see if the key 306 has been depressed, for example,for two seconds or more or not (1). If NO, the processing routine isfinished without executing any processing.

If YES in step (1), all of the LEDs 301 to 305 on the operation panel 14are turned on as shown in FIG. 5 (2), thereby informing the user of thefact that the printer was shifted to the printer resource display mode(special mode).

In general, when the user confirms that all of the LEDs were turned on,the user releases the switch key 306.

A processing to shift to the printer resource display mode (specialmode) is subsequently executed (3). The depression of the kelp 306 isonce stopped. After that, when the key 306 is depressed for a short time(4), as shown in FIG. 6, the LED 304 flickers (present printer resourcedisplaying function selection candidate) (refer to 311 in FIG. 6) andthe four remaining LEDs are turned on and, each time the key 306 isdepressed for a short time, the LEDs 303, 302, and 301 sequentiallyflicker while being switched (refer to 312 to 314 in FIG. 6) (5). Theoperating modes in the states 311 to 314 in which the LEDs 304, 303,302, and 301 flicker are a reset processing (RESET), a print of a listof automatic environment (TEST PRINT), a print of a list of fonts (FONTLIST), and a display of an error code (ERROR CODE). A state in which allof the LEDs 301 to 305 are turned on (refer to 315 in FIG. 6) indicatesa state in which nothing is executed. That is, during the special mode,the LED which flickers (at a high speed) each time the switch key 306 isonce depressed changes as mentioned above and the LED indicative of thefunction to be selected and executed from now on flickers.

When the key input is continuously executed for two seconds or moreafter the mode was shifted to the LED display indicating the printerresource display function to be executed, the LED flickering timechanges and its function is selected and executed (6). If the processingroutine advances without performing any processing, namely, in case ofthe state 315 shown in FIG. 6 (7), no printer resource display functionis executed and the printer progresses to another processing from thismode. That is, after the apparatus was set to a state in which the LEDof a desired function flickers (at a high speed), when the switch key306 is continuously depressed for, for example, two or more seconds, aflickering interval of the LED becomes slow (for instance, changes fromabout 200 msec to about 400 msec), thereby indicating that the desiredfunction was selected. By releasing the switch which was continuouslybeing depressed, the selected function is executed.

In the case where the display of the detailed error information issubsequently selected (8), namely, when the state 314 shown in FIG. 6 isestablished, the processing routine advances to step (10), the practicalcontents of the error which occurred are encoded and displayed by acombination of ON/OFF states of all of the LEDs 301 to 305 in accordancewith the contents of the error. After displaying for ten seconds, theapparatus exits from the printer resource display mode. on the otherhand, if NO in step (8), the selected printer resource display functionis executed (9). For example, in case of printing a list of printenvironment (TEST PRINT), when the LEDs 301 to 305 are in the displaystate 312, a state in which the function of the state 312 was selectedis continued during the execution of the printing and, after completionof the processing, the apparatus exits from the printer resource displaymode (11). Subsequently, the display states of all of the LEDs 301 to305 are returned to the states before shifting to the printer resourcedisplay mode (12) and, after that, the processing routine is finished.

The foregoing step (10) will now be specifically explained hereinbelow.

When various kinds of errors occur, the ALARM LED 301 is turned on andthe printer is automatically set into the OFF LINE state. By depressingthe ON LINE switch key 306 (for a short time) in this state, an errorskip is soon executed.

However, after the errors occurred, when the printer enters the specialmode and this function is executed, an error code is displayed by theLED and the contents of the errors can be known. An operating methodwill now be described hereinbelow.

In the special mode, when the ON LINE switch key 306 is continuouslydepressed for, for example, two seconds in a state in which the ERRORCODE LED 301 flickers (at a high speed), the LED flickers at a lowspeed. By releasing the switch in this instance, the error code isdisplayed. The error code is displayed by a combination of ON/OFF statesof all of the LEDs. For example, after the error code was displayed forten seconds, the printer exits from the special mode and is returned tothe error generating state.

When the ON LINE switch is depressed (for a short time) during the errorcode display (for ten seconds), the printer immediately exits from thespecial mode and is returned to the error generating state.

FIG. 7 is a diagram showing an example in which the practical contentsof errors are encoded by a combination of the ON/OFF states of all ofthe LEDs 301 to 305 mentioned above and are displayed.

FIG. 8 is a diagram showing an error code display procedure in the casewhere the frame buffer memory 17 overflows. In the special mode, whenthe ON LINE switch key 306 is continuously depressed for, for example,two seconds in a state in which the ERROR CODE LED 301 flickers (at ahigh speed) (801), the LED flickers at a slow speed (802). By releasingthe switch in this instance, the error code (error code shown by No. 8in FIG. 7) is displayed (803). After the elapse of, for example, tenseconds after the error code had been displayed, the apparatus isreturned to the error generation state (804).

In the first printer control method as mentioned above, the depressingstate of a predetermined key 306 is monitored, the switching from thedisplay modes of a plurality of displays allocated to a predeterminedprinter state alarm to the printer resource display mode is instructedin accordance with the depression time, and after completion of theswitching instruction, either one of the printer resource displayprocessings allocated to the displays which are sequentially turned onis started in accordance with the depression instruction state of thekey. Therefore, many printer resource display modes can be certainly setand their states can be confirmed even by a small number of key inputmeans and display means.

According to the second printer control method, after completion ofeither one of the printer resource display processings allocated to thedisplays which are sequentially turned on by an instruction to depressthe key 306, the switching to the ordinary display mode is controlled,so that the apparatus can be certainly returned to the ordinary mode bya simple key input instruction.

In the embodiment, the numbers of LEDs and keys are not limited to thoseshown in the embodiment. The number and contents of functions which canbe performed during the printer resource display mode are also notlimited to those shown in the embodiment. Further, the display sectionis also not limited to the LED but any other display device can be alsoused. Further, although explanation has been made with respect to thecase of applying the invention to the laser beam printer as a printingmechanism, the invention can be also easily applied to a printingapparatus having another print mechanism section a dot matrix printer,an ink jet printer, or the like. Although the embodiment has beendescribed with respect to the case of displaying the operating modestate in either one of the ON, flickering, and OFF of the LEDs 301 to305, in case of constructing by using an LED which can be displayed by aback light, further larger number of operating modes can be displayed inaccordance with the number of back light colors.

Second Embodiment

FIG. 9 is a block diagram for explaining a construction of a printingapparatus showing the second embodiment of the invention.

In the diagram, reference numeral 100 denotes the printer shown anddescribed in FIG. 1. The printer 100 is connected to the host computer 2and has the printer engine 1000 for analyzing the received inputinformation and printing. A control program to execute a mode (testprinting mode) to print an internal set state has been stored in an ROM6 of the printer 100.

Reference numeral 3 denotes a CPU for controlling data communicationwith the host computer 2 and also integratedly controls each section ofthe printer 100 on the basis of the control program in the ROM 6 inwhich control procedures or the like shown in flowcharts of FIGS. 11,12, and 14, which will be explained hereinlater have been stored.Reference numeral 300 denotes a button to accept commands from the user.As shown in FIG. 10, the button 300 is arranged on the operation panel14 on the front surface side of the printer 100. The printer 100 has anon-volatile RAM (NVRAM) to store various kinds of set mode information.

Reference numeral 4 denotes an input/output interface for receivinginput information from the host computer 2 and a signal from the button300. Reference numeral 5 denotes an image generator to generate an imageto be output (printed or displayed) from the input information. Aprogram for discriminating whether the button 300 of the operation panel14 is ON or OFF, a program to control the turn on/off of the LED in theoperation panel 14, a program to interpret and print the inputinformation from the outside, fonts which are used to print a character,and the like have been stored in the ROM 6. Reference numeral 7 denotesan RAM to store the internal set state or operating state of the printer100 or to temporarily store information which is necessary for thecontrol of the CPU 3.

FIG. 10 is a diagram showing an example of the operation panel 14 whichis arranged in the printer 100 shown in FIG. 9 and the same portions asthose in FIG. 9 are designated by the same reference numerals.

In the diagram, reference numerals 110 to 140 denote LED displays. Inaccordance with flowcharts, which will be explained hereinlater, as aresult of the judgment of the depressing state of the button 300, theLED display 110 is turned on when it is judged that the instruction is areset function instruction, the LED display 120 is turned on when it isjudged that the instruction is a test print function instruction, theLED display 130 is turned on when it is judged that the instruction isan NVRAM initialization instruction, and the LED display 140 is turnedon when it is judged that the instruction is a cancel function(instruction to exit from the special display mode to the ordinarymode), respectively. Explanations (for example, functions 1 to 4 or thelike) to indicate their functions have previously been written near thearranging positions of the LED displays 110 to 140 in the operationpanel 14 of the embodiment, respectively.

In the embodiment 2 in the printer with the construction as mentionedabove, while the CPU 3 displays that the mode is being switched to thespecial display mode by the button 300 by changing display styles of theLED displays 110 to 140, a depressing state of the button 300 is judged.The CPU 3 sequentially displays the LED displays 110 to 140 arranged incorrespondence to the special functions as special function selectioncandidates by a display style different from the ordinary display,judges the depressing state of the button 300 during the display of thespecial function selection candidates, and executes the special modescorresponding to the special function selection candidates which arebeing displayed. Therefore, the display of the candidates of a pluralityof special modes which can be selected and the special modes can beexecuted by the button 300 and the LED displays 110 to 140.

In the embodiment 2 in the printer constructed as mentioned above, whilethe CPU 3 displays that the mode is being switched to the specialdisplay mode by the button 300 by changing the dis;)lay styles of theLED displays 110 to 140, the depressing state of the button 300 isjudged and the CPU 3 sequentially displays the LED displays 110 to 140arranged in correspondence to the special function as special functionselection candidates by a display style different from the ordinarydisplay. The depressing state of the button 300 during the display ofthe special function selection candidates is judged and the CPU 3executes the special modes corresponding to the special functionselection candidates which are being displayed. Or, the depressing stateof the button 300 during the display of the special function selectioncandidates by the CPU 3 is judged and the CPU 3 cancels the identifiedspecial mode and returns to the display of the special functionselection candidates by the LED displays 110 to 140. Therefore, thedisplay of the candidates of a plurality of special modes which can beselected and the special modes can be executed by the button 300 and theLED displays 110 to 140. Even if the special mode is erroneouslyidentified, the display mode can be returned to the special modecandidate display with a high fidelity.

FIG. 11 is a flowchart showing an example of a special display modeswitching display control procedure in the printer according to theembodiment. Reference numerals (21) to (25) denote processing steps.

The CPU 3 is in a standby mode while monitoring an input of a key signalfrom the button 300. When the user detects that the user hascontinuously depressed the button 300 for a few seconds (21), theapparatus enters the special display mode. In order to inform the userof the fact that the operating mode was shifted to the special mode, allof the LED displays 110 to 140 to display the special display mode setstates are allowed to flicker (22). Subsequently, the light-on of theLED displays sequentially starts to be moved (23). At a time pointcorresponding to the desired function, when it is detected that the userremoves the hand from the button 300 (24), the function corresponding tothe LED display which has been turned on at the time point when thedepression of the button. 300 was stopped, namely, the function selectedby the user is executed (25), and the processing routine is finished. Instep 21 mentioned above, the CPU 3 detects the continuous input of thekey signal from the button 300. In step 24 mentioned above, the CPU 3detects the stop of the key signal input from the button 300.

Due to this, for example, in case of performing a test printcorresponding to the function 2 (LED display 120) shown in FIG. 10, theflickering of all of the LED displays as a confirmation of a change tothe special display mode is confirmed while the button 300 is depressedfor a few seconds or more and the LED displays sequentially start toflicker. A test print function as a desired function is executed. If theapparatus unexpectedly enters the special function mode, by selectingthe function 4 as a cancel function, the apparatus can exit from thespecial display mode.

In the embodiment, the depressing time of the button 300 has been set toa few seconds. However, the depressing time is not limited inparticular. A depressing time can be also set to a proper time. In theembodiment, the case where all of the LED displays flicker in case ofdisplaying the shift to the special display mode has been described.However, it is also possible to display so that the shift to the specialdisplay mode can be discriminated, for example, the LED displays 110 and130 or the LED displays 120 and 140 can alternately flicker. Or, all ofthe LED displays can be held in the ON state for a little while, or thelike.

Further, although the embodiment has been described with respect to thecase where the automatic movement display in step (23) is sequentiallyturned on from the LED display 110 which is arranged on the leftmostside of the panel display 14, the moving direction can be alsocontrolled so as to sequentially turn on from the LED display 140 whichis arranged on the rightmost side.

Although the embodiment has been described with respect to the specialdisplay mode set display control in the display panel on which the LEDdisplays are arranged in the lateral direction, the LED displays can bealso arranged in the direction perpendicular to the plane at which theprinter 100 is installed as shown in FIG. 3 which has been described inthe embodiment 1. Further, the number of kinds of special display modesis not limited to the functions 1 to 4 shown in the embodiment but canbe also set to other special display modes. The number of kinds is alsonot limited to four. Further, if the LED display can display differentcolors by the backlight colors, a further larger number of specialdisplay modes can be displayed. The embodiment has been described withrespect to the case where, when the movement of the turn-on of the LEDdisplays is started and the LED display at a desired function positionis displayed, by stopping the depression of the button 300, the specialfunction corresponding to the LED display which was turned on isautomatically started. However, as will be explained hereinlater, it isalso possible to control in a manner such that after the depression ofthe button 300 was stopped, an instruction of the confirmation of theuser is promoted, thereby enabling the relevant selecting function to bespecified or cancelled.

Third Embodiment

FIG. 12 is a flowchart showing an example of a special display modeswitching display control procedure in the printer according to theembodiment 3. Reference numerals (31) to (39) show processing steps.

First, the CPU 3 is in a standby mode while monitoring the input of akey signal from the button 300. When the user continuously depresses thebutton 300 for a few seconds, the continuous key signal input from thebutton 300 is detected (31) and the apparatus is shifted to the specialdisplay mode. In order to inform the user of the fact that the apparatusis shifted to the special display mode, all of the LED displays 110 to140 to display the special display mode set state are allowed to flicker(32). The turn-on of the LED display automatically starts to move fromthe LED 110 (33). At a time point corresponding to a desired function,when the user removes the hand from the button 300, the stop of the keysignal input from the button 300 is detected (34). Subsequently, the LEDdisplay corresponding to the selected function is allowed to flicker(35). A check is made to see if the function is a desired function ornot (36). If YES, the user again depresses the button 300, therebydetecting the key signal input from the button 300 (37) and specifyingthe selection of the relevant function and the selected special functionis executed (38). The processing routine is finished.

On the other hand, if NO in step (36), namely, when the function whichis not a desired function is selected, for example, by continuouslydepressing the button 300 for a few seconds by the user, the continuouskey signal input from the button 300 is detected (39). The processingroutine is returned to step (33) and the function selection is repeated.

Due to this, for example, in the case where a test print correspondingto the function 2 is executed, a state in which all of the LED displaysflicker and which indicates a confirmation of the change to the specialdisplay mode is confirmed while inputting the key signal from the button300 for a few seconds or more. The LED displays sequentially start toflicker. When the key signal input from the button 300 is stopped forthe first time when the LED display 120 corresponding to the test printas a desired function is turned on, the LED display 120 flickers. Whenthe key signal from the button 300 is again input, the test printfunction processing is started. If the LED display 130 or the like iserroneously selected, the continuous key signal from the button 300 isagain input for a few seconds or more, the LED displays are againsequentially allowed to flicker, and the key signal input from thebutton 300 is stopped, so that the special display mode can be againselected. In addition to it, if the apparatus unexpectedly entered thespecial function mode, by ,.electing the LED display 140 as a cancelfunction, the apparatus can exit from the special display mode.

Fourth Embodiment

FIG. 13 is a diagram showing an example of the operation panel 14 whichis arranged in the printer 100 shown in FIG. 9. The same portions asthose shown in FIG. 9 are designated by the same reference numerals.

In the diagram, reference numerals 221 to 224 denote LED displays. As aresult of that the depressing state of the button 300 was detected inaccordance with flowcharts, which will be explained hereinlater, the LEDdisplay 221 flickers when it is judged that an instruction is aresetting function instruction, the LED display 220 flickers when it isjudged that the instruction is a test print function instruction, theLED display 230 flickers when it is judged that the instruction is afont list instruction, and the LED display 240 flickers when it isjudged that the instruction is an error function instruction (to outputthe contents of the errors), respectively. In the operation panel 14 ofthe embodiment, descriptions (for examples, functions 1 to 4 or thelike) to instruct the respective functions have previously been writtenat positions near the arranging positions of the LED displays 221 to224.

FIG. 14 is a flowchart showing an example of a special display modeswitching display control means in the printer according to theembodiment. Reference numerals (41) to (54) denote processing steps.

First, in the off line state (41), the CPU 3 is in a standby mode towait for the input of a key signal from the button 300. When the usercontinuously depresses the button 300 for a few seconds, the continuouskey signal input from the button 300 is detected (42) and the apparatusis shifted to the special display mode. In this instance, all of the LEDdisplays 221 to 224 are turned on (43) in order to clarify that theoperating mode was shifted to the special display mode. The user removesthe hand from the button 300 and stops the depressing state, so that thestop of the key signal input from the button 300 is detected (44). Atthis time point, the user again continuously depresses the button 300for a few seconds, thereby detecting the key signal input from thebutton 300 (45). The processing routine is returned to step (41) and theapparatus is set to the off line state.

On the other hand, when the user clicks the button 300 withoutcontinuously depressing the button 300 for a few seconds after step(44), the temporary input of the key signal is detected (46) and the LEDdisplay 240 flickers (47). When the user clicks the button 300 until theLED display of a desired function flickers, the temporary input of thekey signal is detected (49). A check is made to see if the number ofclicks is equal to [(the number of functions)+1] or not (51). If YES,the processing routine is returned to step (43) in order to turn on allof the LED displays 221 to 224 without flickering the LED display.

On the other hand, if NO in step (51), the LED displays 221 to 224 aresequentially allowed to flicker each time the button 300 is clicked(53). The processing routine is returned to step (47).

In the state of step (47), when the continuous key signal input from thebutton 300 is detected in a flickering state of a desired LED display(48), the LED display is allowed to slowly flicker (50). Subsequently,when the stop of the key signal input from the button 300 is detected(52), the selected function is executed (54) and the function selectiondisplay process is finished.

Thus, for example, in the case where the user executes a test print, theprinter is first set into the off line state by depressing the button300 and the user continuously depresses the button 300 for a fewseconds. Thus, since all of the LED displays 221 to 224 are turned on,the user confirms such a state and removes the hand from the button 300.Subsequently, by clicking the button 300, the LED display 224 firstflickers. By further clicking the button 300, the LED display 223flickers. By further clicking the button 300, the LED display 222 (testprint function) flickers. By continuous depressing the button 300 for afew seconds, the LED display 222 further starts to slower than theflickering just before. The user confirms such a slow flickering stateand removes the hand from the button 300. At this time point, theselected test print function process is started and a desired output ofthe user is obtained.

According to the special mode executing method which is used in theprinter according to the invention shown in each of the flowcharts asmentioned above, the display styles of each or all of the LED displaysare sequentially changed in accordance with the depressing state of thebutton 300, a plurality of special mode candidates which can be selectedare displayed, the depressing state of the key input means during thedisplay of the special mode candidates is judged, and either one of thespecial modes corresponding to all of the LED displays which weredisplayed as special mode candidates is executed on the basis of thediscrimination result. Therefore, the display of a plurality of specialmode candidates which can be selected and the special modes can beexecuted by the button 300 and all of the LED displays.

Fifth Embodiment

FIG. 15 is a block diagram for explaining a construction of a printercontrol apparatus showing the fifth embodiment.

In the diagram, reference numeral 2 denotes an external apparatus suchas a host computer or the like; 33 an input device to receive input datafrom the external apparatus 2; 34 a control code discriminator; 35 to 37control code analyzers; 38 a bit map developer for developing bit mapdata into a frame memory 39 on the basis of analysis data which wasoutput from the control code analyzers 35 to 37; and 40 an output deviceto transmit an output image developed in the frame memory 39 to aprinter engine 41. The printer engine 41 records desired data onto arecording medium 42 on the basis of an output image which is transmittedfrom the output device 40. The output device 40 can also output theoutput image to a display device such as a CRT or the like (not shown).

First, the input data (comprising character code, control code, or thelike) transferred from the external apparatus 2 is once stored into theinput device 33. When an amount of data stored in the input device 33reaches a predetermined reference value or after the elapse of apredetermined time or more after completion of the storage of the lastdata even if the data amount doesn't reach the reference value, the datastored in the input device 33 is sent to the control code discriminator34.

The control code discriminator 34 judges to which one of the controlcode analyzers the control code in the input data corresponds. When therelevant control code analyzer exists, the input data is sent to eitherone of the control code analyzers 35 to 37. If it is judged that therelevant control code analyzer doesn't exist, the control codediscriminator 34 executes a skip reading process of a series ofsubsequent data, thereby preventing the execution of the illegalprinting.

The data which was analyzed by either one of the control code analyzers35 to 37 is sent to the bit map developer 38. For example, an outputimage is formed in the frame memory 39 by, for example, a style of a bitmap memory of one page. The output device 40 controls the ON/OFFoperations of a laser beam for the printer engine 41 in accordance withthe frame memory 39, thereby recording the print result to the recordingmedium 42 such as a paper or the like.

In the printer control apparatus constructed as mentioned above, afeature of the control code which was input from a data source (externalapparatus 2) is compared with a feature of a predetermined control codewhich is analyzed by each analyzing means (control code analyzers 35 to37). On the basis of the result of the comparison, the first controlmeans (control code discriminator 34) controls the selection of eitherone of the analyzing means which can be used. The feature of the inputcontrol code is compared with the feature of the predetermined controlcode which is analyzed by each analyzer. On the basis of the comparisonresult, the second control means (which is also commonly realized by thecontrol code discriminator 34) controls the skip reading process of theseries of print information which is subsequently input. Therefore, evenif print information which cannot be processed is received, the printinformation can be automatically abandoned.

The control code discriminator 34 in the embodiment executes a codediscriminating process in accordance with the following three stages ofdiscrimination standards and selects either one of the control codeanalyzers at a time point when each of the discriminating conditions issatisfied. Particularly, the first stage is the severest discriminationstandard and the discrimination standard becomes gentle as the stagelevel progresses.

At the first stage, a control code which is peculiar to the relevantanalyzer exists but doesn't exist in the other analyzers.

At the second stage, a predetermined number or more of certain controlcodes exist in the relevant analyzer although such a certain controlcode also exists in the other analyzers.

At the third stage, a control code which doesn't exist in the relevantanalyzer doesn't exist.

A control code discrimination processing operation in the printingmethod according to the invention will now be described hereinbelow withreference to a flowchart shown in FIGS. 16A and 16B.

FIGS. 16A and 16B are the flowcharts showing an example of a controlcode discrimination processing procedure in the printer control methodaccording to the invention. Reference numerals (61) to (80) denoteprocessing steps.

In the control code discriminator 34, the judgment standard is first setto the severest first stage (61) and the discrimination processings ofall of the analyzers are made effective (62). Subsequently, each of thecontrol code discrimination processing at the first stage issequentially executed in accordance with a preset analysis priority (inthe embodiment, the priorities are set to be high in accordance with theorder of the control code analyzers 35 to 37). In the judgment in step(63), the analysis processing of the control code analyzer 35 iseffective because of the initial stage in this case. In step (64), acheck is made to see if there is a feature that is peculiar to thecontrol code of the control code analyzer 35 or not in accordance withthe discrimination standard at the first stage. When it is judged thatthe code is a control code of the analyzer 35, step (65) follows and theanalyzer 35 is decided and the processing routine is finished.

If NO in step (64), a checks is made to see if a control code whichcannot be handled in the analyzer 35 exists or not (66). If YES in step(66), the discrimination processing of the analyzer 35 is madeineffective (67). After that, the discrimination processing of theanalyzer 35 is inhibited at the second and third stages. In the casewhere the control code which cannot be handled in the analyzer 35doesn't exist, the discrimination processing of the analyzer 35 at thefirst stage is finished and the processing routine advances to step (68)in order to shift to the discrimination processing of the analyzer 36.

Processes similar to those in the analyzer 35 are executed for theanalyzers 36 and 37 in steps (68) to (78) after that. Even at this timepoint, when it is impossible to specify that the control code belongs towhich one of the analyzers, th(e discrimination standard is changed tothe second stage in step (80).

The discrimination processes at the second and third stages are executedin steps (63) to (78) in a manner similar to the first stage. At theprevious stage, in the case where it has already been judged that thecontrol code was not for the analyzer, the discrimination processing isnot executed (63, 68, 73).

Due to this, since there is no need to execute the vain discriminationprocessing, the discrimination processing time can be reduced.

In the case where it is impossible to specify that the control coderelates to which one of the analyzers even after completion of thediscrimination processing at the third stage (78), namely, in the casewhere the control code which doesn't exist in all of the analyzersexists, the skip reading process of the input data is executed (79) andthe processing routine is finished. The input data which is receivedduring the skip reading process is not sent to any one of the controlcode analyzers but is abandoned. That is, by executing the data skipreading process, the illegal printing is prevented. During the skipreading process a message indicating that the skip reading process isbeing executed is displayed on the operation panel 14, thereby informingthe user. The skip reading process is continued when no data is input tothe same input interface for a predetermined time or more or until thedata input interface is switched.

FIG. 17 is a block diagram for explaining a construction of the printercontrol apparatus showing a practical construction of the fifthembodiment of the invention. The same portions as those shown in FIG. 15are designated by the same reference numerals.

In the diagram, reference numeral 51 denotes an input interface forinputting input data from the external apparatus 2 such as a hostcomputer or the like; 52 a CPU to control the entire printer engine1000; 53 an ROM in which an operation processing procedure (includingthe procedure shown in the flowchart shown in FIGS. 16A and 16B) of theCPU 52 and character font patterns have been stored; and 54 an RAM whichis used as a work area of the CPU 52, a reception buffer to store theinput data which was received from the external apparatus 2, and amemory to store page data to construct an output image of one page fromthe received input data or the like. Reference numeral 55 denotes aframe memory which is constructed by an RAM and 56 indicates an outputinterface to output an output image 1to the printer engine 1000 toactually print. The above component elements are connected to a systembus 58. In the printer constructed as mentioned above, the CPU 52executes an almost similar control code discrimination processing inaccordance with the flowchart shown in FIGS. 16A and 16B mentioned aboveon the basis of a control program stored in the ROM 53. The codediscrimination processing is completed in a short time.

Although the embodiment has been described with respect to an example ofthe case where the discrimination standards in the control codediscriminator 34 has been set to three stages. However, the number ofstages is not limited to three stages but can be set to an arbitrarynumber in the invention.

The control code analyzer and the control code discriminatorcorresponding to it are handled as one program unit and by freelycombining it, a printer having an excellent expandability can be alsoeasily provided.

A construction of an ink jet recording apparatus to which the embodimentis applied will now be described hereinbelow with reference to FIG. 7.

FIG. 19 is an external view for explaining a construction of anotherprinter to which the invention can be applied. For example, FIG. 19shows the case of an ink jet recording apparatus (IJRA).

In the diagram, a lead screw 5005 is rotated through driving forcetransfer gears 5011 and 5009 interlockingly with the forward/reverserotation of a drive motor 5013. A carriage HC comes into engagement witha spiral groove 5004 of the lead screw 5005 and has a pin (not shown).The carriage HC is reciprocated in the directions of arrows a and b. Anink jet cartridge IJC is installed in the carriage HC. A paper pressingplate 5002 presses a paper onto a platen 5000 in the carriage movingdirection. Reference numerals 5007 and 5008 denote photocouplers whichfunction as home position detecting means for confirming the existenceof a lever 506 of the carriage HC in those regions of the photocouplersand for performing the switching of the rotating direction of the drivemotor 5013 or the like. Reference numeral 5016 denotes a member tosupport a cap member 5022 to cap the entire surface of a recording head;5015 sucking means for sucking the air in the cap and for executing asucking recovery of the recording head through an opening 5023 in thecap; 5017 a cleaning blade which can be moved in the front and backdirections by a member 5019; 5018 a main body supporting plate tosupport the cleaning blade 5017 and member 5019; and 5012 a lever forstarting the sucking operation of the sucking recovery. The lever 5012is moved in association with the movement of a cam 5020 which comes intoengagement with the carriage HC. The driving force from the drive motor5013 is controlled by well-known transfer means such as a clutchswitching device or the like.

A desired processings of the capping, cleaning, and sucking recovery isexecuted at the corresponding position by the operation of the leadscrew 5005 when the carriage HC reaches the home position side region.It is sufficient that a desired operation is executed at a well-knowntiming.

Although the above embodiment has been described with respect to thecase where the invention can be applied to the laser beam printer shownin FIG. 1 or the ink jet printer shown in FIG. 19, the invention can bealso obviously applied to a printer or display device of anotherprinting system.

It will be obviously understood that the invention can be also appliedto an information processing apparatus such as a host computer or thelike or an integrated information input/output apparatus having afacsimile function, a copying function, a printing function, and ascanner function.

What is claimed is:
 1. An output apparatus which receives first information from an external source, generates second information based on the received first information, and outputs the generated second information, said output apparatus comprising:selection means for discriminating the received first information by comparison of a code included in the first information with codes provided in a plurality of analyzer means and for selecting one of the plurality of analyzer means suitable for the first information; and control means for skipping the received first information when at least one condition in which (i) said selection means can select no suitable analyzer means, (ii) no data is input for a predetermined time to an input interface via which the first information was received, and (iii) the input interface is switched, occurs.
 2. An apparatus according to claim 1, wherein the first information comprises a character code and a control code.
 3. An apparatus according to claim 2, wherein said selection means selects the one analyzer means by discriminating the control code included in the received first information and a control code which can be analyzed by the one analyzer means.
 4. An apparatus according to claim 1, wherein the second information comprises image data.
 5. An apparatus according to claim 1, wherein after skipping the received first information, said control means stops output of the second information.
 6. An output method which receives first information from an external source, generates second information based on the received first information, and outputs the generated second information, said method comprising the steps of:discriminating the received first information by comparison of a code included in the first information with codes provided in a plurality of analyzers and selecting one of the plurality of analyzers suitable for the first information; and skipping the received first information when at least one condition in which (i) no suitable analyzer is selected, (ii) no data is input for a predetermined time to an input interface via which the first information was received, and (iii) the input interface is switched, occurs.
 7. A method according to claim 6, wherein the first information discriminated in said discriminating step includes a character code and a control code.
 8. A method according to claim 7, wherein the one analyzer is selected by discriminating the control code included in the received first information and selecting a control code which can be analyzed by the one analyzer.
 9. A method according to claim 6, wherein the second information generated by said method includes image data.
 10. A method according to claim 6, wherein after skipping the received first information, said skipping step stops output of the second information. 